package com.mzpai.product.model;

import java.util.Date;

import com.mzpai.model.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="秒杀成功明细表表")
public class UserSuccessKilled extends BaseModel{
	
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="主键id")
    private Integer id;
	@ApiModelProperty(value="秒杀库主键id")
    private Integer seckillId;
	@ApiModelProperty(value="商品id")
    private Integer productId;
	@ApiModelProperty(value="商品规格id")
    private Integer productAttrvalueId;
	@ApiModelProperty(value="门店id")
    private Integer storeId;
	@ApiModelProperty(value="用户手机")
    private String userPhone;
	@ApiModelProperty(value="用户id")
    private String userId;
	@ApiModelProperty(value="订单id")
    private String orderId;
	@ApiModelProperty(value="购买数量")
    private Integer buyNum;
	@ApiModelProperty(value="状态标识 -1:无效;0:成功;1:已支付;2:未支付")
    private Integer state;
	@ApiModelProperty(value="创建时间")
    private Date createTime;
	public Integer getId() {
		return id;
	}
	public Integer getProductId() {
		return productId;
	}
	public Integer getProductAttrvalueId() {
		return productAttrvalueId;
	}
	public Integer getStoreId() {
		return storeId;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public String getUserId() {
		return userId;
	}
	public String getOrderId() {
		return orderId;
	}
	public Integer getBuyNum() {
		return buyNum;
	}
	public Integer getState() {
		return state;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public void setProductAttrvalueId(Integer productAttrvalueId) {
		this.productAttrvalueId = productAttrvalueId;
	}
	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public void setBuyNum(Integer buyNum) {
		this.buyNum = buyNum;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getSeckillId() {
		return seckillId;
	}
	public void setSeckillId(Integer seckillId) {
		this.seckillId = seckillId;
	}

}